package com.ruoyi.training.service;

import java.util.List;
import com.ruoyi.training.domain.KnowledgeBaseBooks;

/**
 * 知识库书籍Service接口
 * 
 * @author rocc
 * @date 2025-06-27
 */
public interface IKnowledgeBaseBooksService 
{
    /**
     * 查询知识库书籍
     * 
     * @param id 知识库书籍主键
     * @return 知识库书籍
     */
    public KnowledgeBaseBooks selectKnowledgeBaseBooksById(Long id);

    /**
     * 查询知识库书籍列表
     * 
     * @param knowledgeBaseBooks 知识库书籍
     * @return 知识库书籍集合
     */
    public List<KnowledgeBaseBooks> selectKnowledgeBaseBooksList(KnowledgeBaseBooks knowledgeBaseBooks);

    /**
     * 新增知识库书籍
     * 
     * @param knowledgeBaseBooks 知识库书籍
     * @return 结果
     */
    public int insertKnowledgeBaseBooks(KnowledgeBaseBooks knowledgeBaseBooks);

    /**
     * 修改知识库书籍
     * 
     * @param knowledgeBaseBooks 知识库书籍
     * @return 结果
     */
    public int updateKnowledgeBaseBooks(KnowledgeBaseBooks knowledgeBaseBooks);

    /**
     * 批量删除知识库书籍
     * 
     * @param ids 需要删除的知识库书籍主键集合
     * @return 结果
     */
    public int deleteKnowledgeBaseBooksByIds(Long[] ids);

    /**
     * 删除知识库书籍信息
     * 
     * @param id 知识库书籍主键
     * @return 结果
     */
    public int deleteKnowledgeBaseBooksById(Long id);
}
